/**
 * Created by fw on 2021/03/16.
 */
@font-face {
  font-family: 'iconfont';
  src: url('iconfont.ttf?t=1735108005866') format('truetype');
}
.iconfont {
  font-family: "iconfont" !important;
  font-size: 16px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.fw-layout-left-container-shrink {
  width: calc(100% - 228px);
}
.steps{
  height: 250px;
  background-image: url(../img/grid.jpeg);
  background-repeat: repeat;

  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  width: calc(100vw - 290px);
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
}
.progressbar {
  height: 100%;
  font-family: montserrat, arial, verdana;
  text-align: center;
  counter-reset: step;
  width: max-content;
  padding: 90px 12px;
}

.progressbar li {
  min-width: 166px;
  height: 100px;
  list-style-type: none;
  font-size: 16px;
  float: left;
  position: relative;
  box-sizing: border-box;
}

.progressbar li .before {
  width: 104px;
  height: 60px;
  line-height: 58px;
  display: block;
  font-size: 16px;
  color: #333;
  background: white;
  border-radius: 6px;
  margin: 0 auto 5px auto;
  z-index: 2;
}

.progressbar li:after {
  content: ' ';
  width: calc(100% - 113px);
  border: 1.5px solid rgba(128,128,128, 1);
  position: absolute;
  left: calc((-100% + 104px) / 2);
  overflow: hidden;
  top: 30px;
  z-index: 1;
}
.progressbar li span:before {
  font-family: "iconfont" !important;
  font-size: 12px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: '\e9dd';
  width: calc(100% - 104px);
  color: rgba(128,128,128, 1);
  position: absolute;
  left: -4.5px;
  overflow: hidden;
  top: 2.1px;
  z-index: 1;
}
.progressbar li.active:nth-of-type(2)::after {
  content: ' ';
  width: calc(100% - 90.5px);
  border: 1.5px solid rgba(128,128,128, 1);
  position: absolute;
  left: calc((-100% +  60px) / 2);
  overflow: hidden;
  top: 30px;
  z-index: 1;
}
.progressbar li.active:nth-of-type(2) span:before {
  font-family: "iconfont" !important;
  font-size: 12px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: '\e9dd';
  width: calc(100% - 82px);
  color: rgba(128,128,128, 1);
  position: absolute;
  left: -15px;
  overflow: hidden;
  top: 2.1px;
  z-index: 1;
}
.progressbar li#End.hasnode:after {
  content: ' ';
  width: calc(100% - 90.5px);
  border: 1.5px solid rgba(128,128,128, 1);
  position: absolute;
  left: calc((-100% +  104px) / 2);
  overflow: hidden;
  top: 30px;
  z-index: 1;
}
.progressbar li#End.hasnode span:before {
  font-family: "iconfont" !important;
  font-size: 12px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: '\e9dd';
  width: calc(100% - 82px);
  color: rgba(128,128,128, 1);
  position: absolute;
  left: 7px;
  overflow: hidden;
  top: 2.1px;
  z-index: 1;
}
.progressbar li#End:after {
  content: ' ';
  width: calc(100% - 69px);
  border: 1.5px solid rgba(128,128,128, 1);
  position: absolute;
  left: calc((-100% + 60px) / 2);
  overflow: hidden;
  top: 30px;
  z-index: 1;
}
.progressbar li#End span:before {
  font-family: "iconfont" !important;
  font-size: 12px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: '\e9dd';
  width: calc(100% - 60px);
  color: rgba(128,128,128, 1);
  position: absolute;
  left: -4.5px;
  overflow: hidden;
  top: 2.1px;
  z-index: 1;
}

.progressbar li:first-child:after {
  content: none;
}
.progressbar li:first-child span:before {
  content: none;
}
.progressbar li.active .before {
  background: rgba(129,160,214, .8);
  color: white;
}
.progressbar li.active:after {
  background: transparent;
  color: rgba(82,124,165, .8);
}

.progressbar li.mousedown .before {
  color: #fff;
}
.progressbar li.mousedown .before:after {
  content: ' ';
  width: 111.1px;
  height: 67.1px;
  border: 3.5px solid #1E90FF;
  position: absolute;
  left: calc((100% - 111.1px) / 2);
  overflow: hidden;
  top: -3.55px;
  font-weight: 600;
  z-index: 1;
 }


.progressbar li .before:hover {
  cursor: pointer;
}

.progressbar li:first-of-type .before,
.progressbar li:last-child .before {
  color: #fff;
  cursor: default;
}
.progressbar li:first-of-type .before {
  width: 60px;
  border-radius: 30px;
  background: rgba(108,193,98, .8);
}
.progressbar li:last-child .before {
  width: 60px;
  border-radius: 30px;
  background: rgba(198,93,95, .8);
}

.add-btn {
  width: 24px;
  height: 24px;
  line-height: 24px;
  color: #0088cc;
  position: absolute;
  top: -24px;
  right: -12px;
  font-size: 30px;
  cursor: pointer;
}